package com.xuwei.mapper;

import com.xuwei.pojo.User;
import com.xuwei.pojo.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    public User login(@Param("name")String name,@Param("password") String password);
    public List<Users> findUserAll();
    public void addUser(Users users);
    public void updateUser(Users users);
    public Users findUserById(int id);
    public void delById(int id);
    public List<Users> search(@Param("name")String name);
}
